﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using System.Data.SqlClient;

namespace SQLAccessManager
{
    class ConnectionHelper
    {
        // Class variables
        string connectionString;

        // static variables
        static ConnectionHelper connectionHelper;

        public ConnectionHelper Instance()
        {
            if (connectionHelper == null)
            {
                connectionHelper = new ConnectionHelper();
            }
            return connectionHelper;
        }

        public ConnectionHelper() { }

        public ConnectionHelper(string connectionString)
        {
            this.connectionString = connectionString;
        }
    }
}
